#ifndef __ROUTER_HANDLE_C__
#define __ROUTER_HANDLE_C__

#include "stm8s.h"
#include "stm8s_gpio.h"

void router_init(void);
void sp485_enable(char send);
void send_485_str(uint8_t *str, uint8_t len);
void send_router(uint8_t cmd);
void recv_485_handle(uint8_t dat);
void recv_485_process(void);

#endif